<template>
    <div class="son">
        <h3>我是son组件</h3>
        <mydialog></mydialog>
    </div>
</template>

<script setup>
import mydialog from './mydialog.vue';
</script>

<style scoped>
.son {
    background-color: rgb(255, 0, 247);
    padding: 10px;
}</style>